/**
 * 
 */
package fr.upmc.alasca.centreCalcul.interne.controleurApplication.ports;

import java.util.Map;

import fr.upmc.alasca.centreCalcul.interne.controleurApplication.ControleurApplication;
import fr.upmc.alasca.centreCalcul.interne.controleurApplication.interfaces.ControleurApplicationRepartitionRequeteI;
import fr.upmc.components.ports.AbstractInboundPort;

/**
 * @author Antoine Lavaire, Sabri Labassi, Thibaut Fleury, Ryme Fantazi
 */
public	class	ControleurApplicationRepartitionRequeteInboundPort
extends	AbstractInboundPort
implements	ControleurApplicationRepartitionRequeteI
{
	private static final long serialVersionUID = 1L;

	public	ControleurApplicationRepartitionRequeteInboundPort 
	(
		String					p_uri,
		ControleurApplication	p_owner
	) throws	Exception
	{
		super(p_uri, ControleurApplicationRepartitionRequeteI.class, p_owner);
		
		assert this.uri != null;
	}
	
	/**
	 * @see fr.upmc.alasca.centreCalcul.interne.controleurApplication.interfaces.ControleurApplicationRepartitionRequeteI#getMVStats()
	 */
	@Override
	public Map<String, Long> getMVStats() throws Exception {
		return ((ControleurApplication) this.owner).getMVStats();
	}

}
